package com.fireandsword.system.service.impl;

import com.fireandsword.system.domain.SysUserInfo;
import com.fireandsword.system.mapper.SysUserInfoMapper;
import com.fireandsword.system.service.ISysUserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Immortal
 * @version 1.0
 * @description TODO
 * @date 2023/12/26 11:17
 */
@Service
public class SysUserInfoServiceImpl implements ISysUserInfoService {

    @Autowired
    private SysUserInfoMapper sysUserInfoMapper;
    @Override
    public SysUserInfo getSysUserInfo(String userName) {
        return sysUserInfoMapper.selectSysUserInfoByName(userName);
    }
}
